package com.ruoyi.system.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打卡记录对象 personnel_clock_in
 *
 * @author ruoyi
 * @date 2023-09-05
 */
@Data
public class PersonnelClockIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人员id */
    @Excel(name = "人员id")
    private Long userId;

    /** 开门类型 */
    @Excel(name = "开门类型")
    private String doorType;

    /** 开门日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")// HH:mm:ss
    @Excel(name = "开门日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date doorTime;
    /** 用户名称 */
    @Excel(name = "用户名称")
    @TableField(exist = false)
    private String userName;

}
